<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:directive.page import="com.kylin.common.dict.ISelectOption"/>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>
<%@ include file="/common/include/pageExpires.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<title><decorator:title /></title>
<%@ include file="/common/include/css.jsp"%>
<%@ include file="/common/include/taglibs.jsp"%>
	</head>

	 <body link=#003366 vlink=#003366>

<%@ include file="/common/tiles/community_header.jsp"%>

<script language="javascript" type="text/javascript">
	function submitform1(){
		//document.adminForm.task.value=pressbutton;
		try {
			document.adminForm1.onsubmit();
			}
		catch(e){}
		document.adminForm1.submit();
	}
	
	
	function submitbutton1(pressbutton) {
		var form = document.adminForm1;
		if (pressbutton == 'cancel') {
			submitform1( pressbutton );
			return;
		}

		if (form.username.value == "-- <bean:message key="study.13" /> --"){
			form.username.value = ""
			submitform1( pressbutton );
			//alert(  "'$text.base.username'$text.could_not_be_empty." );
		}		
		/*
		else  if (form.username.value.length < 6){
			alert(  "'$text.base.username'$text.length_gt_6." );
		}	
		*/
		else{
			submitform1( pressbutton );
		}
	}
</script>
<table class="tl050804" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="tl05m0804" valign="top">
	<div class="ad04"><a href="#"><img src="/images/commad.jpg" width="567" height="135"></a></div>
	<decorator:body />
		
	</td>

    <td valign="top" class="tl05r0804">
<div class="com080401"><bean:message key="home.02" /></div>
<div><bean:message key="community.con" />
	
	<form  name="adminForm1" method="post" action="/module/community/query/member.do">
	

	
	  <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
          <td width="111" rowspan="5"><img src="/images/commp01.jpg" width="100" height="110"></td>
          <td width="189"><input type="text" name="username" size="20"  value="-- <bean:message key="study.13" /> --"
			onfocus="if(value=='-- <bean:message key="study.13" /> --') {value=''}" 
			onblur="if(value=='') {value='-- <bean:message key="study.13" /> --'}"
					/>
					
			
					</td>

        </tr>
        <tr>
          <td>
		  <select name="interest">
						<option value="" selected> - 用户兴趣 - </option>
						
					<%
						java.util.List list1 = MemObjFactory.getDict("interest",sessionLocale.toString());
						for(int i=0;i<list1.size();i++){
						    ISelectOption vbean = (ISelectOption)list1.get(i);
						    out.println("<option value='"+vbean.getValue()+"'>");
						    out.print(vbean.getName() + "</option>");
						}
					%>						
					</select></td>

        </tr>
        <tr>
          <td><select name="targetlang">
						<option value="" selected> - 学习语言 - </option>
					<%
						java.util.List list = MemObjFactory.getSysLanguageList(sessionLocale);
						for(int i=0;i<list.size();i++){
						    ISelectOption vbean = (ISelectOption)list.get(i);
						    out.println("<option value='"+vbean.getValue()+"'>");
						    out.print(vbean.getName() + "</option>");
						}
					%>
					</select></td>

        </tr>
       
        <tr>
          <td height="40"><input class="rinput" onclick="javascript:submitbutton1('show');" type=button value="<bean:message 
		  key="base.03" />"></td>
        </tr>
      </table><input name="task" value="show" type="hidden">
			</form>
</div>

	<p>&nbsp;</p>
	
	<div class="com080401"><bean:message key="home.03" /></div>
	<div><bean:message key="vocabulary.con" /></div>

	<br>
	<html:form action="/module/study/vocabulary.do" method="post">
	  <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td rowspan="3" width="111"><img src="/images/commp02.jpg" width="111" height="107"></td>
          <td width="189"><input name="CMD" value="search" type="hidden"><input type="text" name="keyword_content" size="20" value="-- <bean:message key="study.13" /> --" 
							onfocus="if(value=='-- <bean:message key="study.13" /> --') {value=''}" onblur="if(value=='') {value='-- <bean:message key="study.13" /> --'}"/></td>
        </tr>
        <tr>
          <td><mytag:select name="catvocabulary" dictName="<%=dict_cat_study1%>" />
							</td>

        </tr>
        <tr>
          <td><input class="rinput"  name="Submit" type="submit" value="<bean:message key="base.03" />"></td>
        </tr>
      </table>
	</html:form>
	
	</td>
  </tr>
</table>

		<p>&nbsp;</p>

					<%@ include file="/common/tiles/footer.jsp"%>
	</body>
</html>